﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="UserCenter.aspx.cs" Inherits="DaoYou.Web.Account.UserCenter" EnableEventValidation="false"
    ValidateRequest="false" %>

<%@ Register Src="../Controller/ApplyDaoYou.ascx" TagName="ApplyDaoYou" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/js/jsAddress.js") %>"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            addressInit('ddlProvince', 'ddlCity', 'ddlArea', '<%= this.Province %>', '<%= this.City %>', '<%= this.Area %>');
        }); 
    </script>
    <link href="<%= Page.ResolveUrl("~/css/prettify/themes/default/default.css") %>"
        rel="stylesheet" type="text/css" />
    <script src="<%= Page.ResolveUrl("~/css/prettify/kindeditor-min.js") %>" type="text/javascript"></script>
    <script src="<%= Page.ResolveUrl("~/css/prettify/lang/zh_CN.js") %>" type="text/javascript"></script>
    <script type="text/javascript">
        var editor;
        KindEditor.ready(function (K) {
            editor = K.create('#txtIntroduction', {
                resizeType: 1,
                uploadJson: '<%= Page.ResolveUrl("~/Handler/upload_json.ashx") %>',
                allowPreviewEmoticons: false,
                allowImageUpload: true,
                items: [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'link', 'image', 'multiimage']
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <section id="content-container" class="clearfix">
        <div id="main-wrap" class="clearfix">
            <aside class="subnav_cont sidebar">
                <div class="subnav">
                    <ul>
                        <li class="current_subpage"><a href="UserCenter.aspx"><span>我的基本信息</span></a></li>
                        <li><a href="UpHeadImg.aspx"><span>我的头像</span></a></li>
                        <% if (base.UserType == 1)
                           {%>
                        <li><a href="UserGuiderInfo.aspx"><span>我的导游信息</span></a></li>
                        <%} %>
                        <li><a href="UserOutPlan.aspx"><span>我的出行计划</span></a></li>
                        <li><a href="UserTimeoutOrder.aspx"><span>我的已出行订单</span></a></li>
                        <li><a href="UserOrder.aspx"><span>我的未出行订单</span></a></li>
                        <% if (base.UserType != 1)
                           {%>
                        <li>
                            <uc1:ApplyDaoYou ID="ApplyDaoYou1" runat="server" />
                        </li>
                        <%} %>
                    </ul>
                </div>
                <!-- END subnav -->
            </aside>
            <div class="page_content_right sub-content">
                <div class="one_half">
                    <label>
                        真实姓名：</label>
                    <input id="txtFullName" type="text" runat="server" />
                </div>
                <div class="one_half">
                    <label>
                        联系手机：</label>
                    <input id="txtMobile" type="text" runat="server" />
                </div>
            </div>
            <div class="page_content_right sub-content">
                <div class="one_half">
                    <label>
                        Email：</label>
                    <input id="txtEmail" type="text" runat="server" />
                </div>
                <div class="one_half">
                    <label>
                        出生日期：</label>
                    <input id="txtBirthday" type="text" runat="server" />
                </div>
            </div>
            <div class="page_content_right sub-content">
                <div class="one_half">
                    <label>
                        家乡：</label>
                    <input id="txtHometown" type="text" runat="server" />
                </div>
                <div class="one_half">
                    <label>
                        现在住址：</label>
                    <input id="txtAddress" type="text" runat="server" />
                </div>
            </div>
            <div class="page_content_right sub-content">
                <div class="one_third">
                    <label>
                        性别：</label>
                    <asp:DropDownList ID="ddlSex" runat="server" Height="31px">
                        <asp:ListItem Value="">请选择</asp:ListItem>
                        <asp:ListItem Value="M">男</asp:ListItem>
                        <asp:ListItem Value="F">女</asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="one_half">
                    <label>
                        所在地区：</label>
                    <asp:DropDownList ID="ddlProvince" name="ddlProvince" ClientIDMode="Static" runat="server"
                        Height="31px">
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlCity" ClientIDMode="Static" runat="server" Height="31px">
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlArea" ClientIDMode="Static" runat="server" Height="31px">
                    </asp:DropDownList>
                </div>
            </div>
            <div class="page_content_right sub-content">
                <div class="large-callout">
                    <label>
                        我的介绍：</label>
                    <asp:TextBox ID="txtIntroduction" runat="server" ClientIDMode="Static" Height="200px"
                        Style="visibility: hidden;"></asp:TextBox><br />
                    <asp:Button ID="btnSubmit" CssClass="button green" runat="server" Text=" 确认提交 " OnClick="btnSubmit_Click" />
                </div>
            </div>
        </div>
    </section>
    <script type="text/javascript" src="<%= Page.ResolveUrl("~/js/custom-main.js")%>"></script>
</asp:Content>
